package coop.bancocredicoop.proyectos.gd.alfresco;

public class AlfrescoServiceConnection {

    private AlfrescoConfig alfrescoConfig;  

    public AlfrescoServiceConnection(AlfrescoConfig alfrescoConfig) {
        this.alfrescoConfig = alfrescoConfig;
    }

    public AlfrescoHttpClient getClient(String actingAsUser) {
    	return new AlfrescoHttpClientWithExplorer(alfrescoConfig, actingAsUser);
    }
    
    public AlfrescoConfig getAlfrescoConfig() {
    	return alfrescoConfig;
    }
    
}